print (4*4*4+7*7*7)